<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div{
            width: 700px;
            height: 40px;
            background-color:white;
            margin: auto;
        }

        .d1{
            border-top-width: 3px;
            border-top-color: orange;
            border-top-style: solid;
            border-bottom-width: 1px;
            border-bottom-color: gray;
            border-bottom-style: solid
        }


        span{
            display: inline-block;
            width: 100px;
            height: 30px;
            text-align: center;
            padding: 5px;
            color: black;

        }
        span:hover{
            background-color: lightgray;
        }
        
    </style>
</head>
<body >
    <div class="d1">
            
        <span>首页</span>
        <span>手机新浪网</span>
        <span>移动客户端</span>
        <span>博客</span>
        <span>微博</span>
        <span>关注我</span>
    </div>
    
</body>
</html>